package com.zhu.gmallpublisher.service.impl;

import com.zhu.gmallpublisher.bean.TrafficKeyWords;
import com.zhu.gmallpublisher.mapper.TrafficKeywordsMapper;
import com.zhu.gmallpublisher.service.TrafficKeywordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrafficKeywordServiceImpl implements TrafficKeywordService {

    @Autowired
    private TrafficKeywordsMapper trafficKeywordsMapper;

    @Override
    public List<TrafficKeyWords> selectKeywords(Integer date) {
        return trafficKeywordsMapper.selectKeywords(date);
    }
}
